package com.ganzalang.gmall.gmallfreemarker.exception;

public class BusinessException extends CommonException{



    public static BusinessException TOKEN_IS_NULL = new BusinessException(10000, "Token为空");
    public static BusinessException VERIFY_TOKEN_ERROR = new BusinessException(10001, "Token校验失败");

    public BusinessException(Throwable e) {
        super(e);
    }

    public BusinessException(Integer code, String message) {
        super(code, message);
    }
}
